<!--中部-->
  <style>
  #loginname_error{color:red;}
  #loginpwd_error{color:red;}
  #authcode_error{color:red;}
  #allerror{color:red;}
  </style>
    <div class="w blank" id="entry">
<div class="mt">
    <h2>
        用户登录</h2>
    <b></b></div>
<div class="mc" style="padding-top:20px;">
	
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'hy-member-form',
	'enableAjaxValidation'=>false,
)); ?>

  <div class="form">
    <div class="item"><span class="label">账户名：</span>
      <div class="fl">
      <?php echo $form->textField($model,'user_name',array('maxlength'=>200,'class'=>'inputs','tabindex'=>1)); ?>
        <label id="loginname_succeed" class="blank invisible">用户名/邮箱/已验证手机</label>
        <span class="clr"></span>
        <label id="loginname_error"> <?php echo $form->error($model,'user_name'); ?></label>
      </div>
    </div>
    <div class="item"> <span class="label">密码：</span>
      <div class="fl"><?php echo $form->passwordField($model,'user_pws',array('maxlength'=>200,'class'=>'inputs','tabindex'=>2)); ?>
                               
        <label id="loginpwd_succeed" class="blank invisible"></label>
        <label><a href="#">找回密码</a></label>
        <span class="clr"></span>
        <label id="loginpwd_error"> <?php echo $form->error($model,'user_pws'); ?></label>
      </div>
    </div>
    <div class="item   " id="o-authcode"> <span class="label">验证码：</span>
      <div class="fl">
      <?php echo CHtml::activeTextField($model,'verifyCode',array('class'=>'text text-1')); ?>
      
				  <?php $this->widget('CCaptcha',array('showRefreshButton'=>false,'clickableImage'=>true,'imageOptions'=>array('clickableImage'=>true,'alt'=>'点击换图','title'=>'点击换图','style'=>'cursor:pointer'))); ?></
       
        <label id="authcode_succeed" class="blank invisible"></label>
        <span class="clr"></span> 
        <span id="authcode_error2"></span> </div>
    </div>
  	  <div class="item   " ><?php echo  $form->errorSummary($model); ?></div>
		  
    <div class="item" id="autoentry"> <span class="label">&nbsp;</span>
      <div class="fl safety">
        <label class="mar">
        <input type="checkbox" class="checkbox" checked="checked"
                                                  id="chkRememberUsername" name="chkRememberUsername"/>
        <label class="mar-b">记住账户名</label>
        </label>
        <label id="safety" class="mar">
        <input type="checkbox" class="checkbox" id="chkRememberMe"
                                                              name="chkRememberMe"/>
                                                              
        <label class="mar-b">自动登录</label>
        </label>
        <div class="promat" style="display: none;"> 为了账户安全，建议您在个人电脑使用此功能 </div>
      </div>
    </div>
    <div class="item"> <span class="label">&nbsp;</span>
        <?php echo CHtml::submitButton('登录',array('class'=>"btn-img btn-entry",'border'=>0)); ?>
    </div>
  </div>
  <label id="allerror">
    
    <?php $this->endWidget(); ?>
    </label>	
  <div id="guide">
    <h5>还不是百觅美丽用户？</h5>
    <div class="content">现在免费注册成为百觅美丽会员。</div>
    <?php echo CHtml::link('注册新会员', array('hymember/reg'),array('class'=>'btn-link btn-personal')); ?>
  </div>
  <span class="clr"></span> </div>
</div>



